﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MillerApp.CommonLib.DataAccess;
using MillerApp.CommonLib.Utility;

namespace MillerApp.DataAccess
{
    public class MillerAppDBHelper
    {
        public static IDBHelper CreateDatabase()
        {
            CommonHelper helper = new CommonHelper();
            string connectionString = helper.GetAppSettingConfig("ConnectionString");
            return new PostgreSqlDBHelper(connectionString, "PostgreSql");
        }
    }
}
